package com.scott.service.solo;

import com.scott.entity.bo.HeadLine;
import com.scott.entity.dto.Result;

import java.util.List;

/**
 * @ClassName HeadLineService
 * @Description
 * @Author 47980
 * @Date 2020/6/9 5:58
 * @Version V_1.0
 **/
public interface HeadLineService {

    Result<Boolean> addHeadLine(HeadLine headLine);

    Result<Boolean> removeHeadLine(int headLineId);

    Result<Boolean> modifyHeadLine(HeadLine headLine);

    Result<HeadLine> queryHeadLineById(int headLineId);

    Result<List<HeadLine>> queryHeadLine(HeadLine headLineCondition, int pageIndex, int pageSize);
}
